
<div id="view-content">
        <table>
            <tr>
                <td>Search Jobs by Category</td>
            </tr>
        <?php
            $basepath = Zend_Controller_Front::getInstance()->getBaseUrl();
            foreach($this->joblist as $job)
            {
                echo "<tr>";
                echo "<td>";
                echo "<a href='$basepath/jobs/jobsbycategory?jobcatid=".$job['jobcategory']
                ."'>" . $job['jobcategory']. "(" . $job['jobcount']. ") </a>";
                echo "</td>";
                echo "</tr>";
            }
        ?>
        </table>
</div>